package cn.tqfeiyang.smartadmin.business.organization.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * 地址实体
 *
 * @author tqfeiyang
 * @since 2024-10-18
 */
@Data
@TableName("oa_address")
public class AddressEntity implements Serializable {

    /**
     * 地址id
     */
    @TableId(type = IdType.AUTO)
    private Long addressId;

    /**
     * 地址
     */
    @TableField
    private String address;

    /**
     * 员工id
     */
    @TableField
    private Long employeeId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}